@font-face {
    font-family: font;
    src: url(Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;

}
body *{
    text-decoration: none;
    font-family: font;
    list-style: none;
}
.m-cartRes-box{
    width: 100%;
    float: left;
    /* display: flex; */
    box-sizing: border-box;
    padding: 1em;
    flex-direction: column;
    position: relative;
     display: none;
}
.m-cartRes-sec{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
}
.m-cartRes-factor{
    width: 100%;
    float: left;
    display: flex;
    flex-direction: column;
    border: 1px solid rgb(211 141 243);
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 1.5em;
    background-color: white;
}
.m-cartRes-factor:last-child{
    margin-bottom: 0;
}
.cartRess-infornation{
    width: 100%;
    float: left;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    box-sizing: border-box;
    padding:1em 0.5em !important;
    border-bottom: 1px solid rgb(211 141 243);
    justify-content: center;
}
.cartRess-infornation li{
    width: fit-content;
    float: left;
    display: flex;
    align-items: center;
    margin: 0.6em 0;
    margin-left: 0.5em;
}
:is(.cartRess-infornation,.cartRes-info) li>span{
    color: #81858b;
    margin-left: 10px;
    font-size: 13px;
}
.single-span span{
    color: #81858b !important;
    margin-left: 10px !important;
    font-size: 13px !important;
}
:is(.cartRess-infornation,.cartRes-info) li>span:last-child{
    font-size: 16px;
    color: black;
    margin: 0;
}
.cartRess-infornation li>i{
    font-size: 5px;
    color: rgb(211 141 243);
    margin-left: 8px;
}
.m-cartRess-pr{
    width: 100%;
    float: left;
    box-sizing: border-box;
    padding:1em 0.5em;
    border-bottom: 1px solid rgb(211 141 243);
    display: flex;
    flex-wrap: wrap;
}
.cartRes-image{
    width: 8em;
    float: left;
    overflow: hidden;
    border-radius: 5px;
    display: flex;
}
.cartRes-image img{
    width: 100%;
    float: left;
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
.m-cartRess-foot{
    width: 100%;
    float: left;
    display: flex;
    padding: 1em 1em;
    box-sizing: border-box;
    justify-content: space-between;
    background-color: rgb(62 61 147);
    align-items: center;
}
.m-cartRess-foot a{
    font-size: 14px;
    color: white;
    border: 1px solid white;
    border-radius: 5px;
    padding: 0.5em 1em;
}
.cartRes-info{
    width: fit-content;
    float: right;
    display: flex;
    padding: 0;
    margin: 0;
    flex-direction: column;
}
.cartRes-info li{
    width: fit-content;
    float: left;
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}
.cartRes-info li:last-child{
    margin: 0;
}

/* quantity */
.cartRes-quantity{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* .cartRes-quantity .cartRes-quantity-sec{
    width: 90%;
    margin: 0;
} */
.cartRes-quantity-sec{
    width: 7em;
    height: auto;
    float: left;
    display: flex;
    align-items: stretch;
    border: 1px solid rgb(62 61 147);
    /* margin-left: 1em; */
    background-color: white;
    border-radius: 10px;
    flex-direction: row-reverse;
    align-items: center;
}
.cartRes-quantity-sec button{
    width: 30%;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: rgb(62 61 147);
    border: none;
    cursor: pointer;
    padding: 1em 0;
}
.cartRes-quantity-sec span{
    width: 40%;
    height: auto;
    float: left;
    text-align: center;
    outline: none;
    border: none;
    margin: 0 !important;
    color: black !important;
}
 .cartRess-feature{
    width: fit-content;
    float: left;
    display: flex;
 }
 .cartRess-feature div{
    width: 30px;
    height: 30px;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgb(62 61 147);
 }
.feature-multimedia{
    background-color: greenyellow;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.feature-text{
    width: 33px !important;
    font-size: 14px;
    color: rgb(62 61 147);
}
.delete-button{
    width: 35px;
    height: 35px;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    font-size: 17px;
    border: none;
    border-radius: 5px;
}
.cartRes-result-sec{
    width: 100%;
    float: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px;
    position: sticky;
    top: 1%;
    box-sizing: border-box;
    padding:1em 2em;
    margin-bottom: 1.5em;
    background: rgb(29 45 114 / 68%);
    /* backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px); */
    border-radius: 10px;
    border: 1px solid rgba(211, 141, 243, 0.4);
    /* box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        inset 0 0 20px 10px rgba(255, 255, 255, 1); */
    overflow: hidden;
}
.cartRes-result-sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.cartRes-result-sec::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}
.cartRes-total-number,.cartRes-total-price{
    width: fit-content;
    float: right;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.678);
}

@media only screen and (max-width:1200px){

}
@media only screen and (max-width:550px){
    .cartRes-image {
        width: 6em;
    }
    .m-cartRes-box{
        display: flex;
        
    }
    .cart-sec{
        display: none;
    }
}
@media only screen and (max-width:450px){
    .cartRes-result-sec{
        font-size: 14px;
        padding: 1.5em 2em;
    }
}
@media only screen and (max-width:380px){
    .cartRes-result-sec{
        font-size: 12px;
        padding:1.7em 2em;
    }
    .m-cartRess-pr {
        flex-direction: column;
        align-items: center;
    }
}